#include "../source/util.hpp"

#define HOST "127.0.0.1"
#define USER "root"
#define PASS "15206962723Li"
#define DBNAME "gobang"
#define PORT 3306

int main()
{
    MYSQL *mysql = liang::MysqlHelper::mysql_create(HOST, USER, PASS, DBNAME, PORT);
    bool ret = liang::MysqlHelper::mysql_exec(mysql, "insert into stu values(null, '小红', 16, 64, 32, 54);");
    if (!ret) return -1;
    liang::MysqlHelper::mysql_destory(mysql);
    return 0;
}